![]() |
PATH![]() |
![]() ![]() |
Create an object in the Users & Groups Data File.
extern OAMStatus UAMCreateObject(OAMObjectSpec* object)
OAMObjectSpecaOAMObjectSpec;
aOAMObjectSpec.objectType = kUser;
aOAMObjectSpec.specType = kOAMObjectSpecByNameType;
char *userName = "\pRealUser";
memcpy(&(aOAMObjectSpec.u.name)userName,strlen(userName));
aOAMStatus = UAMCreateObject(&aOAMObjectSpec);